package com.heima.service;

import com.heima.poji.Dept;
import org.springframework.stereotype.Service;

import java.util.List;

public interface DeptService {
     List<Dept> list();
//根据id删除数据
     void delectById(Integer id);

     void add(Dept dept);

     void update(Dept dept);

     Dept selectByid(Integer id);
}
